<?php
/**
 * Created by PhpStorm.
 * User: Monkey
 * Date: 2021/10/13
 * Time: 11:27
 * Desc: 登陆
 */

namespace app\api\validate;

use think\Validate;

class ProductValidate extends Validate
{
    protected $rule = [
        'id' => 'require|integer'
    ];

    protected $message = [
        'id.require' => 'ID不能为空',
        'id.integer' => 'ID参数格式错误'
    ];

    protected $scene = [

    ];
}
